﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WXYW.Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link href="Style/Main.css" rel="stylesheet" type="text/css" />
    <title>神州数码网络（北京）有限公司客户服务系统</title>
    <style type="text/css" media="screen">
        #WXYWLogin
        {
            width: 100%;
            text-align: center;
        }
        #WXYWLogin div
        {
            text-align: left;
            margin-left: 25px;
            margin-right: 10px;
            padding: 2px;
        }
        table
        {
            border: none;
        }
        td
        {
            padding: 2px; /*background-color: #f5f5f5;*/
            border: none;
            word-spacing: normal;
        }
        div.round-light-button
        {
            line-height: 17px;
            padding-right: 9px;
            margin: 0;
            float: left;
        }
        .round-light-button
        {
            background: url(image/button_lightgrey_right.gif) no-repeat 2px right;
        }
        img
        {
            border: 0;
            vertical-align: middle;
        }
    </style>
</head>
<body style="background-color: #6b8cc1">
    <form id="form1" runat="server">
    <table class="Header" cellpadding="0px" cellspacing="0px">
        <tr style="padding: 0px; margin: 0px; border: 0px;">
            <td style="background-image: url('image/logobg.jpg'); background-repeat: repeat;
                width: 20%; padding: 0px;">
                <img src="image/logoDCN.jpg" alt="" style="padding: 0px; margin: 0px" />
            </td>
            <td style="background-image: url('image/logobg.jpg'); background-repeat: repeat;
                width: 60%; text-align: center; font-size: 18pt; font-weight: bold; padding: 0px;">
                神州数码网络（北京）有限公司客户服务系统
            </td>
            <td style="background-image: url('image/rightlogo.jpg'); background-repeat: repeat;
                width: 20%; padding: 0px;">
            </td>
        </tr>
    </table>
    <table cellpadding="0px" cellspacing="0px" style="width: 100%; background-image: url('image/01-1_r2.jpg');
        height: 430px; background-repeat: repeat-x;">
        <tr>
            <td style="background-image: url('image/dl.jpg'); height: 430px; background-repeat: no-repeat;">
            </td>
            <%-- <td style="background-image:url('image/01-1_r2.jpg'); height:430px; background-repeat:repeat-x; width:10%;"></td>--%>
        </tr>
    </table>
    <div style="width: 400px; height: 200px; margin: -20px 0 0 -60px; top: 55%; left: 60%;
        position: absolute;">
        <asp:Login ID="WXYWLogin" runat="server" DisplayRememberMe="False" TitleText="登录"
            OnAuthenticate="ChangeTechLogin_Authenticate" FailureText="登录信息不正确，请检查帐号和密码。">
            <LayoutTemplate>
                <div>
                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Width="80px"
                        Text="帐号:"></asp:Label>
                    <img alt="" src="image/input_text_left.gif" /><asp:TextBox ID="UserName" runat="server"
                        CssClass="inputBox" Width="155px" TabIndex="1"></asp:TextBox><img alt="" src="image/input_text_right.gif" />
                    <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                        ErrorMessage="请填写用户名." ToolTip="User Name is required." ValidationGroup="MyLogin"
                        Display="Dynamic">*</asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Width="80px"
                        Text="密码:"></asp:Label>
                    <img alt="" src="image/input_text_left.gif" /><asp:TextBox ID="Password" runat="server"
                        CssClass="inputBox" TextMode="Password" Width="155px" TabIndex="2"></asp:TextBox><img
                            alt="" src="image/input_text_right.gif" />
                    <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                        ErrorMessage="请填写密码." ToolTip="Password is required." ValidationGroup="MyLogin"
                        Display="Dynamic">*</asp:RequiredFieldValidator>
                </div>
                <div style="color: red">
                    <asp:Literal ID="FailureText" runat="server" EnableViewState="False" Text="登录信息不正确，请检查帐号和密码。"
                        Visible="false"></asp:Literal>
                </div>
                <div style="position: relative; left: 10%; padding-left: 5px;">
                    <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="登录" TabIndex="3"
                        CausesValidation="true" ValidationGroup="MyLogin" Width="70px" />
                    <asp:Button ID="RegisterButton" runat="server" Text="注册" TabIndex="4" CausesValidation="false"
                        ValidationGroup="MyLogin" Width="70px" OnClick="RegisterButton_Click" />
                </div>
            </LayoutTemplate>
        </asp:Login>
        <div>
            <p>
                1、如果您是新用户，请您先<asp:LinkButton ID="RegisterButton" Text="注册" PostBackUrl="~/UserRegister.aspx"
                    runat="server"></asp:LinkButton>，然后登录到系统中填写申请单 。<br />
                2、如果您已经是我们的注册用户请您直接登录 。<br />
                3、如果您忘记了密码,请单击<asp:LinkButton ID="LinkButton1" Text="忘记密码" PostBackUrl="~/ForgetPassword.aspx" 
                    runat="server"></asp:LinkButton>。<br />
                4、如果你需要其它帮助请直拨010-58859855。<br />
            </p>
        </div>
    </div>
    </form>
</body>
</html>
